home *** CD-ROM | disk | FTP | other *** search
/ Ray Dream Studio / Ray Dream Studio (CDRAYD1) (Ray Dream) (1995).iso / DREAMSDK.WIN / INCLUDE / PATCH2F.H < prev    next >
C/C++ Source or Header  |  1995-10-05  |  575b  |  24 lines

  1. /* $Id: PATCH2F.H 1.5 1995/09/29 18:33:31 YannPC Exp $ */
  2.  
  3. #ifndef __PATCH2F__
  4. #define __PATCH2F__
  5.  
  6. // Bicubic Patch to facets routine
  7.  
  8. struct FACET3D;
  9. struct PATCH3D;
  10.  
  11. typedef void  (*ForEachFacetCallBack)(FACET3D* facet, void* priv); 
  12.  
  13. // Constants for the error parameter. The smaller the error value, the more facets will be generated
  14. #define kManyFacetsError    0x2BC
  15. #define kStandardFacetsError    0x1000
  16. #define kFewfacetsError    0x2000
  17.  
  18.  
  19. void ConvertPatch2Facets(const PATCH3D& patch, long error, ForEachFacetCallBack callback, void* priv);
  20.  
  21.  
  22.  
  23. #endif
  24.